'use strict';
const { Controller } = require('egg');
class UserController extends Controller {
  async index() {
    // this.ctx.body = [
    //   {
    //     name: 'ctrl',
    //   },
    // ];
    const { ctx } = this;
    ctx.body = await ctx.service.user.geAll();
  }
}
module.exports = UserController;
